<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;
// use think\model\concern\SoftDelete;

/**
 * @mixin \think\Model
 */
class TowerCrane extends Model
{
    // use SoftDelete;
    // protected $deleteTime = 'delete_time';
    protected $hidden = ['delete_time'];//隐藏字段
    public function user()
    {
    	return $this->hasOne(User::class,'id','uid')->bind([
            'username',
            'uname'	=> 'name',
        ]);
    }
}
